<table class="Contacts">
<tr class="top">
 <td class="company" colspan=2> 
    <div class=avatar><%=image_tag "company_avatar.gif"%></div> 
    <p><%=@cur_user.company.name%></p>
    <br/>
    <span>
      <% if @cur_user.have_power?%>
      <%=image_tag"icon/add_people.gif"%>
      <%=link_to "Add Person".t,'#',:onclick=>"Effect.BlindDown('new_user',{duration: 0.2});",:class=>'admin'%><%="to this company".t%>
     <%=" - " + @project.name if @project%>
      <%end%>
    </span>
 </td>
 <td class="person">
   <%= render :partial=>'/people/people', :locals=>{:people=>@cur_user.company.account_owner}%>
 </td>
</tr>
<%0.upto(@us.size/3) do |i|%>
 <tr>
   <%if @us[i*3]%>
   <td class="person" id="td_<%=@us[i*3].id%>">
   <%=render (:partial=>'/people/people', :locals=>{ :people=> @us[i*3]},:project_id=>project_id)%>
   </td>
   <%else%>
   <td class="blank"> </td>
   <%end%>
   <%if @us[i*3+1]%>
   <td class="person" id="td_<%=@us[i*3+1].id%>">
   <%= render (:partial=>'/people/people', :locals=>{ :people=> @us[i*3+1]},:project_id=>project_id)%>
   </td>
   <%else%>
   <td class="blank"> </td>
   <%end%>
   <%if @us[i*3+2]%> 
   <td class="person" id="td_<%=@us[i*3+2].id%>">
   <%= render (:partial=>'/people/people', :locals=>{ :people=> @us[i*3+2]},:project_id=>project_id)%>
   </td>
   <%else%>
   <td class="blank"> </td>
   <%end%>
 </tr>
  <% end %>
</table>
